package com.fuqiang.nightshopadmin.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author fuqiang
 * @Description 登录用户VO
 * @Date 2020/4/15
 */
@ApiModel("登录用户VO")
@Data
public class LoginVO {
    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
